package com.hnas.core.exception;

public class CommonException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3508747919964269769L;

	public CommonException(String message) {
		super(message);
	}
	public CommonException() {
		super();
	}
	 public CommonException(Throwable cause)
	    {
	        super(cause);
	    }
//	private String errorCode;

	public String getErrorCode() {
		return this.getClass().getSimpleName();
	}

//	public void setErrorCode(String errorCode) {
//		this.errorCode = errorCode;
//	}
}
